#!/bin/sh

strap() {
    echo "xargs sudo xbps-install -Sy < ${HOME}/dotfiles/backup/$*"
    xargs sudo xbps-install -Sy < "${HOME}"/dotfiles/backup/"$*"
}

file='sysbootstrap'

case "$1" in
    -u) file='usrbootstrap'
esac
strap "${file}"